package com.itheima.mapper;

import com.itheima.pojo.UserInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    @Select("select * from userInfo where id=#{id}")
    UserInfo findById(int id);
    @Select("select * from userInfo")
    List<UserInfo> findAll();
}
